package com.moon.service.controller;

import com.moon.service.BusinessService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author thy
 * @description：todo
 * @date 2024/7/25 13:35
 */
@RestController
@RequestMapping("business")
public class businessController {
    @Resource
    private BusinessService businessService;

    @GetMapping("test")
    public void testSemaphore(){
        businessService.testAsync();
    }

}
